package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 拼箱订单的详情对象 px_box_item
 *
 * @author ruoyi
 * @date 2024-08-07
 */
@ApiModel(value = "拼箱订单的详情")
public class PxBoxItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单项ID */
    private Long boxItemId;

    /** px_box的id */
    @Excel(name = "px_box的id")
    @ApiModelProperty(value = "px_box的id")
    private Long boxId;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /** 尺寸编号 1:尺寸1 2：尺寸2 以此类推 */
    @Excel(name = "尺寸编号 1:尺寸1 2：尺寸2 以此类推")
    @ApiModelProperty(value = "尺寸编号 1:尺寸1 2：尺寸2 以此类推")
    private Integer boxItemNumber;

    /** 长度 */
    @Excel(name = "长度")
    @ApiModelProperty(value = "长度")
    private Integer boxLength;

    /** 宽度 */
    @Excel(name = "宽度")
    @ApiModelProperty(value = "宽度")
    private Integer boxWidth;

    /** 高度 */
    @Excel(name = "高度")
    @ApiModelProperty(value = "高度")
    private Integer boxHight;

    /** 毛重 */
    @Excel(name = "毛重")
    @ApiModelProperty(value = "毛重")
    private String grossWeight;

    /** 包装重量 */
    @Excel(name = "包装重量")
    @ApiModelProperty(value = "包装重量")
    private String packingWeight;

    /** 毛重 */
    @Excel(name = "净重")
    @ApiModelProperty(value = "净重")
    private String netWeight;

    /** 订单order_number */
    @Excel(name = "订单order_number")
    @ApiModelProperty(value = "订单order_number")
    private String orderNumber;

    /** 当前尺寸箱子的重复个数 */
    @Excel(name = "当前尺寸箱子的重复个数")
    @ApiModelProperty(value = "当前尺寸箱子的重复个数")
    private Long boxItemCount;

    /** 产品名称 */
    @Excel(name = "产品名称")
    @ApiModelProperty(value = "产品名称")
    private String prodName;

    /** 总金额 */
    @Excel(name = "总金额")
    @ApiModelProperty(value = "总金额")
    private BigDecimal total;

    /** 单价 */
    @Excel(name = "单价")
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    public void setBoxItemId(Long boxItemId)
    {
        this.boxItemId = boxItemId;
    }

    public Long getBoxItemId()
    {
        return boxItemId;
    }
    public void setBoxId(Long boxId)
    {
        this.boxId = boxId;
    }

    public Long getBoxId()
    {
        return boxId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setBoxItemNumber(Integer boxItemNumber)
    {
        this.boxItemNumber = boxItemNumber;
    }

    public Integer getBoxItemNumber()
    {
        return boxItemNumber;
    }
    public void setBoxLength(Integer boxLength)
    {
        this.boxLength = boxLength;
    }

    public Integer getBoxLength()
    {
        return boxLength;
    }
    public void setBoxWidth(Integer boxWidth)
    {
        this.boxWidth = boxWidth;
    }

    public Integer getBoxWidth()
    {
        return boxWidth;
    }
    public void setBoxHight(Integer boxHight)
    {
        this.boxHight = boxHight;
    }

    public Integer getBoxHight()
    {
        return boxHight;
    }
    public void setGrossWeight(String grossWeight)
    {
        this.grossWeight = grossWeight;
    }

    public String getGrossWeight()
    {
        return grossWeight;
    }
    public void setPackingWeight(String packingWeight)
    {
        this.packingWeight = packingWeight;
    }

    public String getPackingWeight()
    {
        return packingWeight;
    }
    public void setNetWeight(String netWeight)
    {
        this.netWeight = netWeight;
    }

    public String getNetWeight()
    {
        return netWeight;
    }
    public void setOrderNumber(String orderNumber)
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber()
    {
        return orderNumber;
    }
    public void setBoxItemCount(Long boxItemCount)
    {
        this.boxItemCount = boxItemCount;
    }

    public Long getBoxItemCount()
    {
        return boxItemCount;
    }
    public void setProdName(String prodName)
    {
        this.prodName = prodName;
    }

    public String getProdName()
    {
        return prodName;
    }
    public void setTotal(BigDecimal total)
    {
        this.total = total;
    }

    public BigDecimal getTotal()
    {
        return total;
    }
    public void setUnitPrice(BigDecimal unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice()
    {
        return unitPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("boxItemId", getBoxItemId())
                .append("boxId", getBoxId())
                .append("userId", getUserId())
                .append("boxItemNumber", getBoxItemNumber())
                .append("boxLength", getBoxLength())
                .append("boxWidth", getBoxWidth())
                .append("boxHight", getBoxHight())
                .append("grossWeight", getGrossWeight())
                .append("packingWeight", getPackingWeight())
                .append("netWeight", getNetWeight())
                .append("orderNumber", getOrderNumber())
                .append("boxItemCount", getBoxItemCount())
                .append("prodName", getProdName())
                .append("total", getTotal())
                .append("unitPrice", getUnitPrice())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
